package com.appkubes.mall.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.mall.core.dao.BaseMallPluginDao;
import com.appkubes.mall.core.entity.MallPlugin;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * @author Rongjie
 * @description
 */

public interface BaseMallPluginService extends AbstractBaseService<BaseMallPluginDao, MallPlugin> {

    MallPlugin getOneByEntity(MallPlugin entity);

    List<MallPlugin> selectListByEntity(MallPlugin entity);

    IPage<MallPlugin> selectPageByEntity(IPage<MallPlugin> page);
    IPage<MallPlugin> selectPageByEntity(PageVO pageVO);

    IPage<MallPlugin> selectPageByEntity(MallPlugin entity, IPage<MallPlugin> page);
    IPage<MallPlugin> selectPageByEntity(MallPlugin entity, PageVO pageVO);

    IPage<MallPlugin> selectPageByEntity(MallPlugin entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(MallPlugin entity);
}
